//
//  LGLBottomView.m
//  YangWifi
//
//  Created by ZxlAndZyp on 2017/12/13.
//  Copyright © 2017年 zuoxueliangduyuanzhuo. All rights reserved.
//

#import "LGLBottomView.h"
@interface LGLBottomView()

@end
@implementation LGLBottomView

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        
        self.dateL = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH-148, 56)];
        self.dateL.textAlignment = NSTextAlignmentCenter;
        self.dateL.textColor = [UIColor blackColor];
        self.dateL.font = [UIFont systemFontOfSize:14];
        self.dateL.backgroundColor = xlHexColor(@"#F4F6F9");
        self.dateL.text = @"2017.11.20~2012.12.20";
        [self addSubview:self.dateL];
        
        self.activateBtn = [UIButton addTarget:self norTitle:@"确认激活" norColor:xlHexColor(@"#ffffff") highTitle:@"确认激活" highColor:xlHexColor(@"#ffffff") titleFont:xlFont(15) backgroundColor:xlHexColor(@"#31baa0") action:@selector(activateAction:)];
        self.activateBtn.frame = CGRectMake(SCREEN_WIDTH-148, 0, 148, 56);
        [self addSubview:self.activateBtn];
    }
    return self;
}

- (void)activateAction:(id)sender
{
    
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
